import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import './assets/main.css'
// FontAwesome
import { library } from '@fortawesome/fontawesome-svg-core'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import { faTachometerAlt, faUsers, faUserShield, faCog, faInfoCircle, faAngleLeft, faAngleRight } from '@fortawesome/free-solid-svg-icons'

library.add(faTachometerAlt, faUsers, faUserShield, faCog, faInfoCircle, faAngleLeft, faAngleRight)


const app = createApp(App)
app.component('font-awesome-icon', FontAwesomeIcon)
app.use(router)

app.use(ElementPlus)
app.mount('#app')
